// EmptyQueueException.java
//
// Copyright (C) 2006-2011 University of Seville 
// (Contact Rafael Corchuelo at corchu at us.es)
//
// The only purpose of this file is to be useful to my students.
// Using it for commercial purposes will be prosecuted.

package queues.exceptions;

/**
 * An exception that is thrown whenever a attempt to peek or remove an object
 * from an empty queue is made. Note that this exception extends
 * <code>RuntimeException</code>, i.e., it needs not be declared or caught
 * explicitly.
 * 
 * @author Rafael Corchuelo
 * @see java.lang.RuntimeException
 */
public class EmptyQueueException extends RuntimeException {

	private static final long serialVersionUID = -2869194377511864984L;

	public EmptyQueueException() {
		super();
	}

	public EmptyQueueException(String msg) {
		super(msg);
	}

	public EmptyQueueException(AssertionError oops) {
		super(oops);
	}
}
